package registration;

import java.time.LocalDate;

public class Customer {
    // 客户ID,作为数据库主键
    private Long customerId;

    // 客户姓名或公司名
    private Name name;

    // 客户座机号码(必填项)
    private TelephoneNumber telephone;

    // 客户联系地址(可选)
    private Address address;

    // 注册成功起始日期YYYY-MM-DD
    private LocalDate memberSince;

    // 专属销售经理
    private Long relatedSalesManagerId;

    public Long getRelatedSalesManagerId() {
        return relatedSalesManagerId;
    }

    public void setRelatedSalesManagerId(Long relatedSalesManagerId) {
        this.relatedSalesManagerId = relatedSalesManagerId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Name getName() {
        return name;
    }

    public void setName(Name name) {
        this.name = name;
    }

    public TelephoneNumber getTelephone() {
        return telephone;
    }

    public void setTelephone(TelephoneNumber telephone) {
        this.telephone = telephone;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public LocalDate getMemberSince() {
        return memberSince;
    }

    public void setMemberSince(LocalDate memberSince) {
        this.memberSince = memberSince;
    }
}
